﻿using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using Harmontronics.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.DataAccess.IOperate.Business
{
    public interface IMaterialOperate
    {
        //查询所有
        public List<Material> GetAllMaterialList();
        public Material GetMaterialById(string id);
        public List<Material> GetMaterialByIdList(List<string> ids);
        public void AddMaterial(Material entity);
        public void UpdateMaterial(Material model);
        public void DeleteMaterial(Material entity);
        public void BatchDelMaterial(List<Material> entity);
    }
}
